//package com.example.demo.config;
//
//import com.example.demo.utils.LoginInteceptor;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
//import javax.annotation.Resource;
//
//@Configuration
//public class My_webMvcConfig implements WebMvcConfigurer {
//
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//
//        registry.addInterceptor(new LoginInteceptor()).
//                addPathPatterns("/member/**").addPathPatterns("/furn/**").
//                excludePathPatterns("/member/index","/member/indexToLogin","/member/login","/member/loginuser","/member/register","/assets/**");
//    }
//
//
//
//}
